package cn.oms.pms.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("patient_admission_status_record")
@ApiModel(value="PatientAdmissionStatusRecord对象", description="")
public class PatientAdmissionStatusRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "状态表ID（新增生成）")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "用户ID（关联用户表）")
    @TableField("USER_ID")
    private String userId;

    @ApiModelProperty(value = "患者信息ID（对应基本信息表）（ALL4452）")
    @TableField("PATIENT_ID")
    private String patientId;

    @ApiModelProperty(value = "入院号（对应入院登记表）（OP-220219-000001-1）")
    @TableField("ADMISSION_NO")
    private String admissionNo;

    @ApiModelProperty(value = "当前就诊状态CODE（对应就诊流程表）")
    @TableField("PROCESS_CODE")
    private String processCode;

    @ApiModelProperty(value = "当前就诊状态名称（用于患者查询当前所在状态）（排队中、就诊中、捡药中等等）")
    @TableField("PROCESS_NAME")
    private String processName;

    @ApiModelProperty(value = "当前患者所在科室号CODE（对应科室表）")
    @TableField("FROM_DEPARTMENT_CODE")
    private String fromDepartmentCode;

    @ApiModelProperty(value = "当前患者所在科室名称")
    @TableField("FROM_DEPARTMENT_NAME")
    private String fromDepartmentName;

    @ApiModelProperty(value = "当前患者所在科室楼层（格式：1/F 1楼）")
    @TableField("FROM_DEPARTMENT_FLOOR_NAME")
    private String fromDepartmentFloorName;

    @ApiModelProperty(value = "当前患者所在科室位置")
    @TableField("FROM_DEPARTMENT_ADDRESS")
    private String fromDepartmentAddress;

    @ApiModelProperty(value = "下一流程节点CODE（对应就诊流程表）")
    @TableField("NEXT_PROCESS_CODE")
    private String nextProcessCode;

    @ApiModelProperty(value = "下一流程节点名称")
    @TableField("NEXT_PROCESS_NAME")
    private String nextProcessName;

    @ApiModelProperty(value = "患者需要前往的科室号CODE")
    @TableField("TO_DEPARTMENT_CODE")
    private String toDepartmentCode;

    @ApiModelProperty(value = "患者需要前往的科室名称")
    @TableField("TO_DEPARTMENT_NAME")
    private String toDepartmentName;

    @ApiModelProperty(value = "患者需要前往的科室楼层（格式：1/F 1楼）")
    @TableField("TO_DEPARTMENT_FLOOR_NAME")
    private String toDepartmentFloorName;

    @ApiModelProperty(value = "患者需要前往的科室位置")
    @TableField("TO_DEPARTMENT_ADDRESS")
    private String toDepartmentAddress;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
